# name : Slides Include Graphics/Image by knitr::include_graphics
# key : slides.include_graphics
# key : ppt.include_graphics
# key : beamer.include_graphics
# contributor: Shuguang Sun
# --
\`\`\`{r, echo=FALSE, out.width="${2:50%}", fig.cap="A nice image.", fig.align = 'center'}
knitr::include_graphics("${1:file}")
\`\`\`